	
<button id='isBack'>返回</button>
<volist name='data' id='vo'>
	<div style='display:flex;border-bottom:1px solid #aaa;border-top:1px solid #aaa;margin-top:5px'>

		<div style='flex:5;background:#ddd;padding:5px' class='service_index_infos_detail' info_id='{$vo.info_id}' service_id='{$vo.info_service_type_id}'>
			<div style='display:flex'>
				<div style='flex:2'>{$vo.info_title}</div>
				<div style='flex:1;text-align:right'>
					<switch name='vo.info_stat'>
						<case value='1'>
							<span style='color:red'>待审核</span>
							<button class='service_info_control_infoList_edit' type='allow' info_id='{$vo.info_id}' uid='{$vo.info_uid}' service_id='{$vo.info_service_type_id}'>通过</button>
							<button class='service_info_control_infoList_edit' type='deny' info_id='{$vo.info_id}' uid='{$vo.info_uid}' service_id='{$vo.info_service_type_id}'>不通过</button>
						</case>
						<case value='2'>
							<span style='color:green'>正常</span>
							<button class='service_info_control_infoList_edit'  type='del' info_id='{$vo.info_id}' uid='{$vo.info_uid}' service_id='{$vo.info_service_type_id}'>删除</button>
						</case>
						<case value='3'>
							<span style='color:red'>未通过</span>
							<button class='service_info_control_infoList_edit'  type='allow' info_id='{$vo.info_id}' uid='{$vo.info_uid}' service_id='{$vo.info_service_type_id}'>通过</button>
						</case>
						<case value='4'>
							<span style='color:blue'>以删除</span>
							<button class='service_info_control_infoList_edit'  type='recovery' info_id='{$vo.info_id}' uid='{$vo.info_uid}' service_id='{$vo.info_service_type_id}'>恢复</button>
						</case>
					</switch>
					
				
				</div>
			</div>
			<div style='font-size:12px'>
				<div style='float:left;margin-right:20px'>类别：{$vo.info_cond_type}</div>

				<if condition="$vo['info_cond_price']">
					<div style='float:left;margin-right:20px'>
						<if condition="$vo['info_service_type_id'] eq 24">
							薪资
						<else/>
							价格
						</if>
					：{$vo.info_cond_price} 元</div>
				</if>


				

				<!--二手车-->
				<if condition="$vo['info_cond_brand']">
					<div style='float:left;margin-right:20px'>品牌：{$vo.info_cond_brand} </div>
				</if>
				<if condition="$vo['info_cond_car_type']">
					<div style='float:left;margin-right:20px'>车型：{$vo.info_cond_car_type} </div>
				</if>
				<if condition="$vo['info_cond_use_year']">
					<div style='float:left;margin-right:20px'>使用年限：{$vo.info_cond_use_year} </div>
				</if>

				<!--招聘求职 -->
				<if condition="$vo['info_cond_industry']">
					<div style='float:left;margin-right:20px'>行业：{$vo.info_cond_industry}</div> <!--招聘和外兑信息共享-->
				</if>
				<if condition="$vo['info_cond_experience']">
					<div style='float:left;margin-right:20px'>经验：{$vo.info_cond_experience}</div>
				</if>
				<if condition="$vo['info_cond_edu']">
					<div style='float:left;margin-right:20px'>学历：{$vo.info_cond_edu}</div>
				</if>

				<!--旧货-->
				<if condition="$vo['info_cond_goods_type']">
					<div style='float:left;margin-right:20px'>物品分类：{$vo.info_cond_goods_type}</div>
				</if>

				<!--房屋租售-->
				<if condition="$vo['info_cond_shape']">
					<div style='float:left;margin-right:20px'>户型：{$vo.info_cond_shape}</div>
				</if>
				<if condition="$vo['info_cond_area']">
					<div style='float:left;margin-right:20px'>面积：{$vo.info_cond_area}平米</div>
				</if>

				<!--宠物交易-->
				<if condition="$vo['info_cond_animal_type']">
					<div style='float:left;margin-right:20px'>宠物分类：{$vo.info_cond_animal_type}</div>
				</if>

				<div style='float:left;margin-right:20px'>{$vo.info_city1} {$vo.info_city2} {$vo.info_city3}</div>


				<div style='float:left;margin-right:20px'>{$vo.info_ctime|date='Y-m-d H:i',###}</div>

			</div>
			<div style='font-size:12px;clear:both;word-break:break-all'>
				详情：{$vo.info_content}
			</div>
			<if condition="$vo.info_imgs neq 'null'">
				<volist name='vo.info_imgs' id='vo'>
					<img srcs='{:C('upyun_src')}{$vo}!be' style='height:50px;margin-left:10px;border:5px solid #ccc' class='service_info_control_infoList_bigImg' />
				</volist>
			</if>
		</div>
	</div>
</volist>
<script>
	$('#isBack').click(function(){
		//alert(1);
		$('#user_search,#user_type_btns').show(); //将隐藏用户搜索及分类按钮显示
		buttonInit();	//点击返回重新初始化数据
		get_user_list();
	});
	$('.service_info_control_infoList_edit').click(function(){
		var uid = $(this).attr('uid');
		var type = $(this).attr('type');
		var info_id = $(this).attr('info_id');
		var service_id = $(this).attr('service_id');
		//alert(service_id+'--'+type+'--'+info_id);
		$.ajax({
			url:'__URL__/service_info_check_edit',
			data:{
				uid:uid,
				type:type,
				info_id:info_id,
				service_id:service_id
			},
			type:'post',
			success:function(res){
				broserUserInfos(uid)
				//location.reload(1);
			}
		});
	});
</script>